﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using KingsSharp.Core.Data;

namespace CRM.Admin.Contracts.Model.Customer
{
    /// <summary>
    /// 品种需求
    /// </summary>
    public class Variety:EntityBase<Guid>
    {
        /// <summary>
        /// 需求类别 0 对产品产品 1 对零件的需求
        /// </summary>
        public short DemandType { get; set; }

        /// <summary>
        /// 产品/零件外键
        /// </summary>
        public Guid? DemandSourcesId { get; set; }

        /// <summary>
        /// 产品/零件 名称
        /// </summary>
        public string DemandSourcesName { get; set; }

        /// <summary>
        /// 所用原料材质/牌号
        /// </summary>
        public string MaterialMade { get; set; }

        /// <summary>
        /// 所用原料规格
        /// </summary>
        public string MaterialSpecs { get; set; }

        /// <summary>
        /// 原料单件重量
        /// </summary>
        public decimal MaterialWeight { get; set; }
        /// <summary>
        /// 原料宽度
        /// </summary>
        public decimal MaterialWidth { get; set; }
        /// <summary>
        /// 原料高度
        /// </summary>
        public decimal MaterialHeight { get; set; }
        /// <summary>
        /// 原料厚度
        /// </summary>
        public string MaterialThickness { get; set; }

        /// <summary>
        /// 当年需求量
        /// </summary>
        public decimal NowNeedWeight { get; set; }

        /// <summary>
        /// 对应攀钢品种名称
        /// </summary>
        public string BreedName { get; set; }

        /// <summary>
        /// 对应攀钢品种外键
        /// </summary>
        public Guid? BreedId { get; set; }

        /// <summary>
        /// 技术、质量要求
        /// </summary>
        public string QualityProfiles { get; set; }

        /// <summary>
        /// 攀钢钒可覆盖量
        /// </summary>
        public decimal PGFCoverWeight { get; set; }

        /// <summary>
        /// 攀钢钒已供应量
        /// </summary>
        public decimal PGFAlreadySupplyWeight { get; set; }
        /// <summary>
        /// 西钢钒已供应量
        /// </summary>
        public decimal XGFCoverWeight { get; set; }

        /// <summary>
        /// 西钢钒可覆盖量
        /// </summary>
        public decimal XGFAlreadySupplyWeight { get; set; }
        /// <summary>
        /// 攀钢可覆盖量
        /// </summary>
        public decimal PGCoverWeight { get; set; }

        /// <summary>
        /// 攀钢已供应量
        /// </summary>
        public decimal PGAlreadySupplyWeight { get; set; }
        /// <summary>
        /// 新产品需求
        /// </summary>
        public string NewProductProfiles { get; set; }

        /// <summary>
        /// 发展规划
        /// </summary>
        public string DevelopmentProfiles { get; set; }

        /// <summary>
        /// 新顾客要求
        /// </summary>
        public string NewUserProfiles { get; set; }

        /// <summary>
        /// 销售可行性分析
        /// </summary>
        public string SaleFeasibility { get; set; }

        /// <summary>
        /// 攀钢不能满足供货条件原因
        /// </summary>
        public string NoCooperateProfiles { get; set; }

        /// <summary>
        /// 顾客对产品、价格及与钢厂合作的评价
        /// </summary>
        public string PriceMoreEvaluate { get; set; }

        /// <summary>
        /// 目前厂商供货方式
        /// </summary>
        public string NowSupply { get; set; }

        /// <summary>
        /// 顾客当年需求计划
        /// </summary>
        public string YearNeedProfiles { get; set; }

        /// <summary>
        /// 顾客次年需求计划
        /// </summary>
        public string NextYearNeedProfiles { get; set; }

        /// <summary>
        /// 顾客未来发展规划
        /// </summary>
        public string NextNeedProfiles { get; set; }

        /// <summary>
        /// 用材档案
        /// </summary>
        public string MaterialProfiles { get; set; }

        /// <summary>
        /// 用材收集日期
        /// </summary>
        public DateTime? GetMaterialDate { get; set; }

        /// <summary>
        /// 用材收集人
        /// </summary>
        public string GetMaterialUser { get; set; }

        /// <summary>
        /// 顾客主键编号
        /// </summary>
        public Guid CustomerId { get; set; }

        /// <summary>
        /// 顾客导航属性
        /// </summary>
        public virtual Customer Customer { get; set; }
        /// <summary>
        /// 需求年份
        /// </summary>
        public int? ParticularYear { get; set; }
        /// <summary>
        /// 需求月份
        /// </summary>
        public int? Month { get; set; }
    }
}
